// 对应 viteMockServe 中的 mockPath: "./mock/"
// 注意: 这里的接口url是 代理之前的接口，也就是 /api 这级被代理替换之前
export default [
  {
    url: '/api/login',
    method: 'post',
    response: () => {
      return {
        token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOjEsIlVzZXJuYW1lIjoicm9vdCIsIk5pY2tuYW1lIjoi57O757uf566h55CG5ZGYIiwiUm9sZSI6bnVsbCwiQnVmZmVyVGltZSI6ODY0MDAsImV4cCI6MTY1OTc5NDU3OSwiaXNzIjoiSENZIiwibmJmIjoxNjU5MTg4Nzc5LCJzdWIiOiJhbGwifQ.R3_W18ZDialZBRxosQZ-bTY3i7SIvgC2tM-_-LOUaq8',
        alias: '系统管理员',
        lv: 'admin'
      }
    }
  },
  {
    url: '/api/user/page',
    method: 'get',
    response: () => {
      return {
        list: [],
        total: 1
      }
    }
  }
]
